package editor;

import java.awt.Dimension;

import javax.swing.JDialog;

public class DialogAnteprima extends JDialog{
	private Editor editor;
	private PannelloAnteprima pannello;
	public DialogAnteprima(Editor editor){
		super();
		this.editor = editor;
		pannello = new PannelloAnteprima(this);
		this.setContentPane(pannello);
		this.setTitle("Anteprima livello");
		this.setSize(new Dimension(800,630));
		this.setLocation(200,90);
		this.setResizable(false);
		this.setAlwaysOnTop(true);
		this.setVisible(true);
	}
	public Editor getEditor() {
		return editor;
	}
	public void setEditor(Editor editor) {
		this.editor = editor;
	}
}
